import pandas as pd

from pandas import to_datetime
#读取文件数据
data_df = pd.read_csv('../data/data.csv')

data_df.drop_duplicates(['record_time'])

#把新的数据写入文件
data_df.to_csv('../data/data1.csv',mode='a+',index=False)